package jiyun.service;

import jiyun.mapper.EmployeeMapper;
import jiyun.pojo.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeService {
    @Autowired(required = false)
    private EmployeeMapper employeeMapper;
    public Employee getAll() {
        return employeeMapper.selectByPrimaryKey(1);
    }
}
